package cn.com.miao.lynx.plugin.mail.model;

import cn.com.miao.lynx.plugin.mail.enums.ContentType;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * MailRequest
 *
 * @title: MailRequest
 * @description:
 * @author: dengmiao
 * @create: 2020-01-10 14:19
 **/
@Data
@Builder
public class MailRequest {

    /**
     * Mail Content Type
     */
    private ContentType contentType;
    /**
     * Mail Content
     * Limit 28K
     */
    private String content;
    /**
     * Send To Target Mail Address
     * Multiple email addresses can be separated by commas, up to 100 addresses.
     */
    private List<String> toAddress;
    /**
     * From Alias
     */
    private String formAlias;
    /**
     * Mail Subject Name
     */
    private String subject;
    /**
     * Labels created by console
     */
    private String tagName;
}
